package com.cppsu.cgx.libraryseatselection.services;

import com.cppsu.cgx.libraryseatselection.dto.*;
import com.cppsu.cgx.libraryseatselection.entity.Seat;
import com.cppsu.cgx.libraryseatselection.entity.SeatSelection;

import java.util.List;

/**
 * @Author: guibo
 * @Description:
 * @Date: Created in 14:42 2021/3/10
 * @Modified By:
 */
public interface SeatService {
    List<Seat> list(SeatParam seatParam);

    int add(SeatParam seatParam);

    int update(SeatParam seatParam);

    int delete(List<Long> ids);

    List<Seat> listAvailableSeats(AvailableSeatsParam availableSeatsParam);

    int addBatch(Long floorId);
}
